package reflect;

import reflect.annotation.AutoRunClass;

public class ReflectDemo7 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class cls=Class.forName("reflect.Person");
      boolean tf=  cls.isAnnotationPresent(AutoRunClass.class);
        System.out.println("是否被标注了："+tf);

    }
}
